package com.jwsoft.manager.core.dao.mapper;

import com.jwsoft.manager.core.dao.model.EduhHouseDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
  * 房产信息历史表 Mapper 接口
  * </p>
*
* @author zhiyuan
* @since 2023-09-21
*/
@Mapper
public interface EduhHouseDetailMapper extends BaseMapper<EduhHouseDetail> {

    int saveBatch(@Param("hHouseDetails") List<EduhHouseDetail> hHouseDetails);

    List<EduhHouseDetail> selectByTaskDetailId(@Param("taskDetailId") String taskDetailId,@Param("currentPage") int currentPage, @Param("pageSize") Integer pageSize);

    void deleteHistoryById(@Param("houseDetailId") String houseDetailId);
}
